package com.youzan.cloud.component.biz.member.dal.dataobject;

import java.util.Date;

public class MemberInformation {
	/** 主键 */
	private Integer id;
	/** 有赞openid */
	private String yzOpenid;
	/** 会员等级 */
	private String grade;
	/** 成长值 */
	private Integer growth;
	/** 年龄 */
	private Integer age;
	/** 姓 */
	private String firstName;
	/** 性别(1.男,2.女) */
	private String gender;
	/** 生日 */
	private String birthday;
	/** 邮箱 */
	private String email;
	/** 昵称 */
	private String latestNickName;
	/** 头像url */
	private String latestAvatar;
	/** 更新时间 */
	private Date updateTime;
	/** 变化对应的流水ID */
	private Long logId;
	/** 会员对应店铺ID */
	private Long kdtid;
	/** 名字 */
	private String secondName;
	private String thirdAccount;

	private String thirdAccountType;

	private String mobile;

	private String address;

	private String weiXin;

	private Integer areaCode;

	public Integer getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(Integer areaCode) {
		this.areaCode = areaCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getWeiXin() {
		return weiXin;
	}

	public void setWeiXin(String weiXin) {
		this.weiXin = weiXin;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getThirdAccountType() {
		return thirdAccountType;
	}

	public void setThirdAccountType(String thirdAccountType) {
		this.thirdAccountType = thirdAccountType;
	}

	public String getThirdAccount() {
		return thirdAccount;
	}

	public void setThirdAccount(String thirdAccount) {
		this.thirdAccount = thirdAccount;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getId() {
		return this.id;
	}
	
	public void setYzOpenid(String yzOpenid) {
		this.yzOpenid = yzOpenid;
	}
	
	public String getYzOpenid() {
		return this.yzOpenid;
	}
	
	public void setGrade(String grade) {
		this.grade = grade;
	}
	
	public String getGrade() {
		return this.grade;
	}
	
	public void setGrowth(Integer growth) {
		this.growth = growth;
	}
	
	public Integer getGrowth() {
		return this.growth;
	}
	
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public Integer getAge() {
		return this.age;
	}
	
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	
	public String getFirstName() {
		return this.firstName;
	}
	
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	public String getGender() {
		return this.gender;
	}
	
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	
	public String getBirthday() {
		return this.birthday;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getEmail() {
		return this.email;
	}
	
	public void setLatestNickName(String latestNickName) {
		this.latestNickName = latestNickName;
	}
	
	public String getLatestNickName() {
		return this.latestNickName;
	}
	
	public void setLatestAvatar(String latestAvatar) {
		this.latestAvatar = latestAvatar;
	}
	
	public String getLatestAvatar() {
		return this.latestAvatar;
	}
	
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Date getUpdateTime() {
		return this.updateTime;
	}
	
	public void setLogId(Long logId) {
		this.logId = logId;
	}
	
	public Long getLogId() {
		return this.logId;
	}
	
	public void setKdtid(Long kdtid) {
		this.kdtid = kdtid;
	}
	
	public Long getKdtid() {
		return this.kdtid;
	}
	
	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}
	
	public String getSecondName() {
		return this.secondName;
	}
	

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        MemberInformation that = (MemberInformation) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }
    
    @Override
    public String toString() {
        return "MemberInformation{" +
				"id=" + id +
						",yzOpenid='" + yzOpenid + "'" + 
						",grade='" + grade + "'" + 
						",growth='" + growth + "'" + 
						",age='" + age + "'" + 
						",firstName='" + firstName + "'" + 
						",gender='" + gender + "'" + 
						",birthday='" + birthday + "'" + 
						",email='" + email + "'" + 
						",latestNickName='" + latestNickName + "'" + 
						",latestAvatar='" + latestAvatar + "'" + 
						",updateTime='" + updateTime + "'" + 
						",logId='" + logId + "'" + 
						",kdtid='" + kdtid + "'" + 
						",secondName='" + secondName + "'" + 
		                '}';
    }
	
}